﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ActivityController.cs" company="DissingNellemann">
//   
// All rights reserved </copyright>
// <summary>
//   The activity controller.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace Website.Controllers
{
    using System.Collections.Generic;
    using System.Web.Mvc;

    using Website.Models.Styling;

    /// <summary>
    ///     The activity controller.
    /// </summary>
    public class ActivityController : BaseController
    {
        // GET: /Events/
        #region Public Methods and Operators

        /// <summary>
        ///     The index.
        /// </summary>
        /// <returns>
        ///     The <see cref="ActionResult" />.
        /// </returns>
        public ActionResult Index()
        {
            this.Init("Events");

            var submenuItems = new List<MenuItem>();
            var item = new MenuItem
                           {
                               ActionName = "Index", 
                               ControllerName = "BusinessDevelopment", 
                               CurrentMenuSelectionName = "BusinessDevelopment", 
                               ImageName = "notepad", 
                               Title = "Forretnings-udvikling"
                           };
            submenuItems.Add(item);

            var item2 = new MenuItem
                            {
                                ActionName = "Index", 
                                ControllerName = "Matchmaking", 
                                CurrentMenuSelectionName = "Matchmaking", 
                                ImageName = "notepad", 
                                Title = "Matchmaking"
                            };
            submenuItems.Add(item2);

            var item3 = new MenuItem
                            {
                                ActionName = "Index", 
                                ControllerName = "Networking", 
                                CurrentMenuSelectionName = "Networking", 
                                ImageName = "notepad", 
                                Title = "Netværk"
                            };
            submenuItems.Add(item3);

            var item4 = new MenuItem
                            {
                                ActionName = "Index", 
                                ControllerName = "Projects", 
                                CurrentMenuSelectionName = "Projects", 
                                ImageName = "notepad", 
                                Title = "Projekt"
                            };
            submenuItems.Add(item4);

            var item5 = new MenuItem
                            {
                                ActionName = "Index", 
                                ControllerName = "Cluster", 
                                CurrentMenuSelectionName = "Clusters", 
                                ImageName = "notepad", 
                                Title = "Klynger"
                            };
            submenuItems.Add(item5);
            var item6 = new MenuItem
                            {
                                ActionName = "Index", 
                                ControllerName = "NewsInformation", 
                                CurrentMenuSelectionName = "NewsInformation", 
                                ImageName = "notepad", 
                                Title = "Nyheds-information"
                            };
            submenuItems.Add(item6);

            this.Session["SubMenuItems"] = submenuItems;
            return this.View();
        }

        #endregion
    }
}